package xyz.lne.researchgroupmanage.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class generater {
    private String Account;

    public static String accountGenerator(Integer userid){
        SimpleDateFormat df = new SimpleDateFormat("yyMMddhhmmss");
        String time=df.format(new Date());
        String UI = String.format("%04d", userid);
        return time+UI;
    }
}
